package com.huang.mapper;

import com.huang.entity.Manager;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

@Mapper
public interface ManagerMapper {

//    @Select("  SELECT mgr_id AS id , mgr_name AS name , mgr_pwd AS pwd\n" +
//            "        FROM t_managers\n" +
//            "        WHERE mgr_id = #{id}")
//    @Select("select * from t_managers where mgr_id=#{id}")
    Manager selectManagerById(Integer id);
    Set<Manager> selectAllManagers();
}